package com.itheima.health.service;

import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.Order;


/**
 * 预约业务层
 *
 * @author snowsee
 * @date 2023/4/27 11:57
 */
public interface AppointmentOrderService {
    /**
     * 根据电话号查询会员信息
     * @param member
     * @return
     */
    Member saveByPhoneNumber(Member member);


    /**
     * 验证预约是否已满
     * @param orderDate
     * @return
     */
    void getOrderSettingByOrderDate(String orderDate);

    /**
     * 存入预约信息&设置表+1
     */
    void saveOrderAndSetting(Order order);
}
